import fft.Field;
import imports.Complex;


public class ComplexField extends Field<Complex> {
	private final Complex zero = new Complex(0, 0);
	private final Complex one = new Complex(1, 0);
	
	public Complex zero() {
		return zero;
	}

	public Complex one() {
		return one;
	}

	public Complex add(Complex a, Complex b) {
		return a.plus(b);
	}

	public Complex inverseAdd(Complex a) {
		return zero.minus(a);
	}

	public Complex mul(Complex a, Complex b) {
		return a.times(b);
	}

	public Complex inverseMul(Complex a) {
		return one.div(a);
	}
}
